import axios from 'axios';
import * as constants from './constants';
import { fromJS } from 'immutable';
import * as api from './../api';
let aaaaa=1;
const getHomeData = (result) => ({
	type: constants.HOME_DATA,
	dataValue: result.data, 
});
 
export const getHomeInfo = () => {  
	aaaaa++; 
	return (dispatch) => {
		dispatch(getHomeData({data:aaaaa})); 
	}
} 
 